package com.jushu.storbox.constant;


public class UiConstant {
	
	public final static int REFRESH_LIST_COMPLATE = -101010;

	public final static int ALLFILEFRAGMENT = 0;
	public final static int SHAREFRAGMENT = 1;
	public final static int SETTINGFRAGMENT = 2;
	public final static int DOWNLOADFRAGMENT = 3;
	public final static int UPLOADFRAGMENT = 4;
	/** bindservice finish flag */
	public final static int ONCONNECTCOMPLETE = 10;
	public final static int CLEAN_LOCAL_CACHE = 11;
	public final static int HIDE_TOP_PROGRESSBAR = 12;
	public final static int HIDE_SEARCH_BAR = 13;
	public final static int SHOW_SEARCH_BAR = 14;
	public final static int NEED_NOTIFY_INSTALL_ANYOFFICE = 15;
	public final static int ON_ANIMATION_END = 16;

	public static final int DISPLAY_FILELIST_UI_VIEW = -3;
	public static final int SEARCH_FILE_BY_NAME = -2;
	public static final int OPEN_FOLDER_BY_FILEFOLDERINFO = -1;
	public static final int REFRESH_FILELIST_UI_VIEW = 1;
	public static final int SUCCESS_ON_FILE_FOLDER_INFO_CHANGED = 2;
	public static final int GET_FILE_FOLDER_LIST = 10;
	public static final int MOVE_FILE_FOLDER_ITEM = 12;
	public static final int SUCCESS_ON_FILE_FOLDER_REMOVE = 13;
	public static final int RENAME_FILEFOLDER_ITEM = 15;
	public static final int DELETE_FILEFOLDER_ITEM = 16;
	public static final int ERROR_OCURRED_CONNECT_SERVER = 19;
	public static final int NETWORK_OBSTRUCTED = 20;
	public static final int RENAME_FILE_WHEN_TYPEISCHANGE = 23;
	public static final int FOLDER_NAME_IS_INVALID = 24;
	public static final int SET_SHARE_LINK = 26;
	public static final int POPUP_SHARE_LINK_UI = 27;
	public static final int HIDE_LODING_PROGREESS = 50;
	public static final int NOTFOUND_ON_DELETE_FILE_FOLDER = 52;
	public static final int SUCCESS_GET_SERVER_FOLDER_INFOMATION = 54;

	public static final int FILE_FOLDER_VIEW_BASE = 100;
	public static final int FOLDER_IS_DOWNLOADDING 	= FILE_FOLDER_VIEW_BASE + 0;
	public static final int FILE_IS_DOWNLOADDING 	= FILE_FOLDER_VIEW_BASE + 1;
	public static final int FILE_DOWNLOAD_CANCEL 	= FILE_FOLDER_VIEW_BASE + 2;
	public static final int INIT_VIEW_DOWNLOAD_STATE = FILE_FOLDER_VIEW_BASE + 4;
	public static final int CANCEL_SYNC_FILE 		= FILE_FOLDER_VIEW_BASE + 5;
	public static final int FILE_DOWNLOAD_SUCCESS 	= FILE_FOLDER_VIEW_BASE + 7;
	public static final int CURRENT_ITEM_VIEW_NEED_UPLOAD = FILE_FOLDER_VIEW_BASE + 8;
	public static final int REQUEST_CANCEL_DOWNLOAD 	= FILE_FOLDER_VIEW_BASE + 9;
	public static final int GET_FOLDER_SUB_COLLECTION_FAILED = FILE_FOLDER_VIEW_BASE + 10;
	public static final int CURRENT_ITEM_RESOURCE_NOT_EXITST = FILE_FOLDER_VIEW_BASE + 11;
	public static final int THUMBNAIL_DOWNLOAD_SUCCESS = FILE_FOLDER_VIEW_BASE + 12;
	public static final int SHOW_BEGIN_DOWNLOAD_TYPE_ICON = FILE_FOLDER_VIEW_BASE + 14;
	public static final int UPDATE_TYPE_ICON = FILE_FOLDER_VIEW_BASE + 15;
	public static final int FILE_DOWNLOAD_FINISHED = FILE_FOLDER_VIEW_BASE + 16;
	
	public static final int FILE_FOLDER_SHARE_BASE = 200;
	public static final int SUCCESS_GET_SHARED_USER_FOR_FILEFOLDER = FILE_FOLDER_SHARE_BASE + 0;
	
	public static final int DIR_CODE_BASE = 0;
	public static final int DIR_CODE_N1 = DIR_CODE_BASE + (-1);//no mean
	public static final int DIR_CODE_1 = DIR_CODE_BASE + 1;
	public static final int DIR_CODE_25 = DIR_CODE_BASE + 25;
	public static final int DIR_CODE_200 = DIR_CODE_BASE + 200;
	public static final int DIR_CODE_1001 = DIR_CODE_BASE + 1001;
	
	
	public final static int SETTING_ALBUM_ACTIVITY_REQUEST_CODE = 110;
	public final static int SETTING_ALBUM_ACTIVITY_RETURN_CODE = 111;
	public final static int SETTING_ALBUM_ACTIVITY_SAVE_CODE = 112;
	
	public final static int SHARE_ACTION_BASE_CODE = 100000;
	public final static int SHARE_ACTION_DELETE_SHARE_SHIPS_SUCCESS = SHARE_ACTION_BASE_CODE + 1;
	public final static int SHARE_ACTION_EXECUTE_SHARE_SHIPS_SUCCESS = SHARE_ACTION_BASE_CODE + 2;
	public final static int SHARE_ACTION_GET_SHARE_RESOURCE_BYME = SHARE_ACTION_BASE_CODE + 3;
	public final static int SHARE_ACTION_GET_SHARE_RESOURCE_TOME = SHARE_ACTION_BASE_CODE + 4;
	public final static int SHARE_ACTION_SAVE_SHARE_RESOURCE = SHARE_ACTION_BASE_CODE + 5;
	public final static int SHARE_ACTION_DELETE_ALL_SHARE_SHIPS_SUCCESS = SHARE_ACTION_BASE_CODE + 6;
	

	public final static int FILE_ACTION_BASE_CODE = 200000;
	public final static int FILE_ACTION_GET_NODE_INFOMATION 	= FILE_ACTION_BASE_CODE + 1;
	

	public final static int FOLDER_ACTION_BASE_CODE = 300000;
	public final static int FOLDER_ACTION_GET_SUB_LISTDATA 		= FOLDER_ACTION_BASE_CODE + 1;
	public final static int FOLDER_ACTION_GET_PAGE_FOLDER_LIST  = FOLDER_ACTION_BASE_CODE + 2;
	public final static int FOLDER_ACTION_GET_NODE_INFOMATION	= FOLDER_ACTION_BASE_CODE + 3;
	public final static int FOLDER_ACTION_OPEN_FOLDER			= FOLDER_ACTION_BASE_CODE + 4;
	public final static int FOLDER_ACTION_OPEN_PARENT			= FOLDER_ACTION_BASE_CODE + 5;
	public final static int FOLDER_ACTION_GET_MORE_FOLDER		= FOLDER_ACTION_BASE_CODE + 6;
	public final static int FOLDER_ACTION_REFRESH_FOLDER_LIST	= FOLDER_ACTION_BASE_CODE + 7;
	
	public final static int NODE_ACTION_BASE_CODE = 400000;
	public final static int NODE_ACTION_MOVE_SUCCESS = NODE_ACTION_BASE_CODE + 1;
	public final static int NODE_ACTION_SHARE_TEAMSPACE_SUCCESS = NODE_ACTION_BASE_CODE + 2;
	public final static int NODE_ACTION_DELETE_SUCCESS = NODE_ACTION_BASE_CODE + 3;
	public final static int NODE_ACTION_DOWNLOAD_SOME_SUCCESS = NODE_ACTION_BASE_CODE + 4;
	public final static int NODE_ACTION_SYNC_SUCCESS = NODE_ACTION_BASE_CODE + 5;
	public final static int NODE_SEARCH_BY_KEYWORD = NODE_ACTION_BASE_CODE + 6;
	public final static int NODE_ACTION_MOVE_CANCEL = NODE_ACTION_BASE_CODE + 7;
	public final static int SHARE_ACTION_SAVE_CANCEL = NODE_ACTION_BASE_CODE + 8;
	public final static int NODE_ACTION_GET_PATH = NODE_ACTION_BASE_CODE + 9;
	public final static String NODE_MOVE_DATAS = "NODE_MOVE_DATAS" ;
	
	public final static int NODES_ACTION_BASE_CODE = 410000;
	public final static int NODES_ACTION_MOVE_ALL_SUCCESS = NODES_ACTION_BASE_CODE + 1;
	public final static int NODES_ACTION_MOVE_ITEM_SUCCESS = NODES_ACTION_BASE_CODE + 2;
	public final static int NODES_ACTION_MOVE_SOME_SUCCESS = NODES_ACTION_BASE_CODE + 3;
	public final static int NODES_ACTION_MOVE_CANCAL = NODES_ACTION_BASE_CODE + 4;
	public final static int NODES_ACTION_MOVE_TAGET_SAME_PARENT = NODES_ACTION_BASE_CODE + 5;
	public final static int NODES_ACTION_COPY_ALL_SUCCESS = NODES_ACTION_BASE_CODE + 7;
	public final static int NODES_ACTION_COPY_ITEM_SUCCESS = NODES_ACTION_BASE_CODE + 8;
	public final static int NODES_ACTION_COPY_SOME_SUCCESS = NODES_ACTION_BASE_CODE + 9;
	public final static int NODES_ACTION_COPY_TEMA_CANCEL= NODES_ACTION_BASE_CODE + 10;
	
	public final static int ITEM_SETITEM_SELECTED = 500001;
	public final static int ITEM_SETITEM_UNSELECTED = 500002;
	public final static int ITEM_SETITEM_HAVE_UPLOAD = 500003;
	public final static int ITEM_SETITEM_NOT_UPLOAD = 500004;
	public final static int ITEM_UPDATA_EXTENDS_VIEW = 500005;
	public final static int ITEM_DELETE_EXTENDS_VIEW = 500006;
	
	public final static int ALBUM_ACTION_BASE_CODE = 600000;
	public final static int ALBUM_ACTION_BACKUP_PIC = ALBUM_ACTION_BASE_CODE + 1;
	
	
	public final static int CALL_BACK_BASE_CODE = 700000;
	public final static int CALL_BACK_START = CALL_BACK_BASE_CODE + 1;
	public final static int CALL_BACK_PROCESS = CALL_BACK_BASE_CODE + 2;
	public final static int CALL_BACK_SUCCESS = CALL_BACK_BASE_CODE + 3;
	public final static int CALL_BACK_FIALURE = CALL_BACK_BASE_CODE + 4;
	public final static int CALL_BACK_PREPERD = CALL_BACK_BASE_CODE + 5;
	
	
	public final static String FILE_SORT_NAME = "FILE_SORT_NAME";
	public final static String FILE_SORT_TIME = "FILE_SORT_TIME";
	public final static String FILE_SORT_SIZE = "FILE_SORT_SIZE";
	public final static String FILE_SORT_CURRENT = "FILE_SORT_CURRENT";
	public final static int SORT_BY_NAME = 0X0001; // 0X0001升序 		0X1001降序
	public final static int SORT_BY_SIZE = 0X0002; // 0X0002升序 		0X1002降序
	public final static int SORT_BY_TIME = 0X0003; // 0X0003升序 		0X1003降序
	
	public final static String SHARE_RECIVE_FILENAME_SORT = "SHARE_RECIVE_FILENAME_SORT";
	public final static String SHARE_RECIVE_AUTHOR_SORT = "SHARE_RECIVE_AUTHOR_SORT";
	public final static String SHARE_RECIVE_TIME_SORT = "SHARE_RECIVE_TIME_SORT";
	public final static String SHARE_RECIVE_CURRENT_SORT = "SHARE_RECIVE_CURRENT_SORT";
	public final static int SHARE_RECIVE_SORT_BY_FILENAME = 0X0001; // 0X0001升序 		0X1001降序
	public final static int SHARE_RECIVE_SORT_BY_AUTHOR = 0X0002; // 0X0002升序 		0X1002降序
	public final static int SHARE_RECIVE_SORT_BY_TIME = 0X0003; // 0X0003升序 		0X1003降序
	
	public final static String SHARE_SEND_FILENAME_SORT = "SHARE_SEND_FILENAME_SORT";
	public final static String SHARE_SEND_CURRENT_SORT = "SHARE_SEND_CURRENT_SORT";
	public final static int SHARE_SEND_SORT_BY_FILENAME = 0X0001; // 0X0001升序 		0X1001降序
	
	public final static String SHARE_RECIVE_SUB_FILENAME_SORT = "SHARE_RECIVE_SUB_FILENAME_SORT";
	public final static String SHARE_RECIVE_SUB_TIME_SORT = "SHARE_RECIVE_SUB_TIME_SORT";
	public final static String SHARE_RECIVE_SUB_SIZE_SORT = "SHARE_RECIVE_SUB_SIZE_SORT";
	public final static String SHARE_RECIVE_SUB_CURRENT_SORT = "SHARE_RECIVE_SUB_CURRENT_SORT";
	public final static int SHARE_RECIVE_SUB_SORT_BY_FILENAME = 0X0001; // 0X0001升序 		0X1001降序
	public final static int SHARE_RECIVE_SUB_SORT_BY_SIZE = 0X0002; // 0X0002升序 		0X1002降序
	public final static int SHARE_RECIVE_SUB_SORT_BY_TIME= 0X0003; // 0X0003升序 		0X1003降序
	
	public final static String SHARE_SEND_SUB_FILENAME_SORT = "SHARE_SEND_SUB_FILENAME_SORT";
	public final static String SHARE_SEND_SUB_TIME_SORT = "SHARE_SEND_SUB_TIME_SORT";
	public final static String SHARE_SEND_SUB_SIZE_SORT = "SHARE_SEND_SUB_SIZE_SORT";
	public final static String SHARE_SEND_SUB_CURRENT_SORT = "SHARE_SEND_SUB_CURRENT_SORT";
	public final static int SHARE_SEND_SUB_SORT_BY_FILENAME = 0X0001; // 0X0001升序 		0X1001降序
	public final static int SHARE_SEND_SUB_SORT_BY_SIZE = 0X0002; // 0X0002升序 		0X1002降序
	public final static int SHARE_SEND_SUB_SORT_BY_TIME= 0X0003; // 0X0003升序 		0X1003降序
	
	public final static String TEMA_SUB_FILENAME_SORT = "TEMA_SUB_FILENAME_SORT";
	public final static String TEMA_SUB_TIME_SORT = "TEMA_SUB_TIME_SORT";
	public final static String TEMA_SUB_SIZE_SORT = "TEMA_SUB_SIZE_SORT";
	public final static String TEMA_SUB_CURRENT_SORT = "TEMA_SUB_CURRENT_SORT";
	public final static int TEMA_SUB_SORT_BY_FILENAME = 0X0001; // 0X0001升序 		0X1001降序
	public final static int TEMA_SUB_SORT_BY_SIZE = 0X0002; // 0X0002升序 		0X1002降序
	public final static int TEMA_SUB_SORT_BY_TIME= 0X0003; // 0X0003升序 		0X1003降序
	
	
	public final static int TASK_TRANSLATE_BASE = 800000;
	public final static int TASK_TRANSLATE_START = TASK_TRANSLATE_BASE + 1;
	public final static int TASK_TRANSLATE_PROGRESS = TASK_TRANSLATE_BASE + 2;
	public final static int TASK_TRANSLATE_SUCCESS = TASK_TRANSLATE_BASE + 3;
	public final static int TASK_TRANSLATE_FAILED = TASK_TRANSLATE_BASE + 4;
	public final static int TASK_TRANSLATE_CANCELED = TASK_TRANSLATE_BASE + 5;
	public final static int TASK_TRANSLATE_STOPED = TASK_TRANSLATE_BASE + 6;
	protected static int NODES_ACTION_COPY_CANCEL;
	

	public final static int UPDATE_GROUP_BASE = 900000;
	public final static int UPDATE_GROUP_FILE 	= UPDATE_GROUP_BASE + 1;
	public final static int UPDATE_GROUP_SHARE 	= UPDATE_GROUP_BASE + 2;
	public final static int UPDATE_GROUP_TEAM 	= UPDATE_GROUP_BASE + 3;
	public final static int UPDATE_GROUP_MORE 	= UPDATE_GROUP_BASE + 4;
}
